package com.data.center.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class AdminDivision {
    @TableId
    private String id;
    private String code;
    private String name;
    private int level;
    private String parent;
    private int status;
    private Date effectiveDate;
    private Date expiryDate;

    @Override
    public String toString() {
        return "AdminDivision{" +
                "id='" + id + '\'' +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", level=" + level +
                ", parent='" + parent + '\'' +
                ", status=" + status +
                ", effectiveDate=" + effectiveDate +
                ", expiryDate=" + expiryDate +
                '}';
    }

}
